/**
 * com.chaeron.GPS - An API for access to GPS devices.
 *
 *
 * Copyright (c) 2001, 2002 Chaeron Corporation,
 * All rights reserved.
 * 
 * Chaeron grants you a non-exclusive license to use, modify and re-distribute
 * this program under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version, provided that this copyright notice and 
 * license appear on all copies of the software.
 * 
 * Software is provided "AS IS," without a warranty of any kind. ALL EXPRESS OR
 * IMPLIED REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE
 * HEREBY EXCLUDED. THE ENTIRE RISK ARISING OUT OF USING THE SOFTWARE IS ASSUMED
 * BY THE LICENSEE. See the GNU General Public License for more details.
 *
 * CHAERON AND ITS LICENSORS SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY
 * LICENSEE OR ANY THIRD PARTY AS A RESULT OF USING OR DISTRIBUTING SOFTWARE.
 * IN NO EVENT WILL CHAERON OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE,
 * PROFIT OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL
 * OR PUNITIVE DAMAGES, HOWEVER CAUSED AN REGARDLESS OF THE THEORY OF LIABILITY,
 * ARISING OUT OF THE USE OF OR INABILITY TO USE SOFTWARE, EVEN IF CHAERON HAS
 * BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

 * @version     1.02
 * @author      Andrzej Jan Taramina, Chaeron Corporation
 *              andrzej@chaeron.com
 */

package com.chaeron.GPS.event.decorator;

//***************************************************************************
//*
//*     Imports
//*
//***************************************************************************/


//***************************************************************************
//*
//*    GPSXMLTag interface definition
//*
//***************************************************************************/

/**
 * The GPSXMLTag interface provides constants for XML Tags
 *
 */

public interface GPSXMLTag
{
	
	//***************************************************************************
	//*
	//*     XML Tag definitions
	//*
	//***************************************************************************/
	
	// Namespace
	
	public static final String		XML_GPSML_VERSON					= "V0.6";
	public static final String		XML_NAMESPACE						= "http://www.chaeron.com/GPSml/" + XML_GPSML_VERSON;
	public static final String		XML_DECLARATION						= "<?xml version=\"1.0\" encoding=\"US-ASCII\" standalone=\"yes\"?>\n";
	
	// Main Tags
	
	public static final String		XML_TAG_GPSDATA						= "GPSData"; 
	public static final String		XML_TAG_GPSDATA_SCHEMAS				= "\n         xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n         xsi:schemaLocation=\"http://www.chaeron.com/GPSml/" + XML_GPSML_VERSON + " GPSml.xsd\""; 
	public static final String		XML_TAG_UNKNOWN						= "UNKNOWN";
	public static final String		XML_TAG_OTHER						= "Other";
	
	// Collection Tags
	
	public static final String		XML_TAG_COLLECTION					= "Collection";
	public static final String		XML_TAG_WAYPOINT					= "Waypoint";
	public static final String		XML_TAG_ROUTE						= "Route";
	public static final String		XML_TAG_TRACKLOG					= "Track";
	
	// Waypoint-specific Tags
	
	public static final String		XML_TAG_LINKIDENTIFICATION			= "LinkID";
	
	// Route-specific Tags
	
	public static final String		XML_TAG_ROUTELINKDATA				= "Link";
	
	// TrackLog-specific Tags
	
	public static final String		XML_TAG_TRACKSEGMENT				= "TrackSegment";
	public static final String		XML_TAG_TRACKPOINT					= "Trackpoint";
	public static final String		XML_TAG_TRACKDISPLAYONMAP			= "DisplayOnMap";

	// RealTime Data Tags
	
	public static final String		XML_TAG_GARMINPACKET				= "RawPacket";
	public static final String		XML_TAG_NMEASENTENCE				= "NMEASentence";
	
	// Unit of Measure Attributes
	
	public static final String		XML_ATTRIBUTE_UOM					= "UOM";
	public static final String		XML_ATTRIBUTE_UOM_DEGREES			= "degrees";
	public static final String		XML_ATTRIBUTE_UOM_SEMICIRCLES		= "semicircles";
	public static final String		XML_ATTRIBUTE_UOM_METERS			= "meters";
	public static final String		XML_ATTRIBUTE_UOM_SECONDS			= "seconds";
	
	// Event Tags
	
	// Position Tags
	
	public static final String		XML_TAG_POSITION					= "Position";
	public static final String		XML_TAG_LATITUDE					= "Latitude";
	public static final String		XML_TAG_LONGITUDE					= "Longitude";
	public static final String		XML_TAG_ALTITUDE					= "Altitude";
	public static final String		XML_TAG_DEPTH						= "Depth";
	public static final String		XML_TAG_DISTANCE					= "Distance";
	
	// Identification Tags
	
	public static final String		XML_TAG_IDENTIFICATION				= "Identification";
	public static final String		XML_TAG_NUMBER						= "Number";
	public static final String		XML_TAG_IDENTIFIER					= "Identifier";
	public static final String		XML_TAG_SOURCE						= "Source";
	public static final String		XML_TAG_TYPE						= "Class";
	public static final String		XML_TAG_SUBCLASS					= "Subclass";
	public static final String		XML_TAG_ATTRIBUTES					= "Attributes";
	public static final String		XML_TAG_COMMENT						= "Comment";
	
	// Accuracy Tags
	
	public static final String		XML_TAG_ACCURACY					= "Accuracy";
	
	// Time Tags
	
	public static final String		XML_TAG_TIME						= "Time";
	public static final String		XML_TAG_ESTIMATEDTIMEENROUTE		= "EstimatedTimeEnroute";
	public static final String		XML_TAG_TIMESINCEEPOCH				= "TimeSinceEpoch";
	
	// Navigation Tags
	
	public static final String		XML_TAG_NAVIGATION					= "Navigation";
	
	// Display Tags
	
	public static final String		XML_TAG_DISPLAY						= "Display";
	public static final String		XML_TAG_SYMBOL						= "Symbol";
	public static final String		XML_TAG_COLOUR						= "Colour";
	public static final String		XML_TAG_DISPLAYOPTIONS				= "Options";
	public static final String		XML_TAG_SYMBOLID					= "SymbolID";
	
	// Location Tags
	
	public static final String		XML_TAG_LOCATION					= "Location";
	public static final String		XML_TAG_ADDRESS						= "Address";
	public static final String		XML_TAG_CITY						= "City";
	public static final String		XML_TAG_STATECODE					= "State";
	public static final String		XML_TAG_COUNTRYCODE					= "Country";
	public static final String		XML_TAG_FACILITY					= "Facility";
	public static final String		XML_TAG_CROSSROAD					= "Crossroad";

	
}